{extend name="public:base"}
{block name="body"}
<body>
		<form class="layui-form layui-form-pane" action="">
			<div class="mainBox">
				<div class="main-container">
                    <div class="layui-card">
                        <div class="layui-card-header">订单信息</div>
                        <div class="layui-card-body">
                            <div class="layui-row">
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">订单编号</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.order_sn|default='--'}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">会员手机号</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.mobile|default='--'}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                <!--div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">订单类型</label>
                                        <div class="layui-input-block">
                                            {eq name="info.type" value="1"}
                                            <input type="text"  value="普通订单"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                            {/eq}
                                            {eq name="info.type" value="2"}
                                            <input type="text"  value="特价订单"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                            {/eq}
                                            {eq name="info.type" value="3"}
                                            <input type="text"  value="积分订单"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                            {/eq}
                                        </div>
                                    </div>
                                </div-->
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">订单状态</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$status[$info['status']]}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">下单时间</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.create_time}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">支付交易号</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.transaction_id}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">支付时间</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.pay_time|date='Y-m-d H:i:s',###}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md4">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">订单金额</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.order_price|default=''}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="layui-col-xs12 layui-col-sm6 layui-col-md12">
                                    <div class="layui-form-item">
                                        <label class="layui-form-label">订单备注</label>
                                        <div class="layui-input-block">
                                            <input type="text"  value="{$info.remark|default=''}"  autocomplete="off" placeholder="" class="layui-input" readonly>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
           
		</form>
	</body>
{/block}
{block name="script"}
<script>
    layui.use(['jquery','form','area'], function() {
        let form = layui.form;
        let $ = layui.jquery;
    })

</script>
{/block}
